// 导入vuex
import Vue from 'vue';
import Vuex from 'vuex';
// 注册
Vue.use(Vuex);
// 创建数据存储对象
// 导入子模块
import menu from './modules/menu';
import role from './modules/role';
import admin from './modules/admin';
import cate from './modules/cate';
import specs from './modules/specs';
import goods from './modules/goods';
import seckill from './modules/seckill';
import member from './modules/member';
const store=new Vuex.Store({
    state:{},
    mutations:{},
    actions:{},
    getters:{},
    // 注册子模块
    modules:{
        menu,
        role,
        admin,
        cate,
        specs,
        goods,
        seckill,
        member
    }
});
// 导出数据存储对象
export default store;